package com.shop.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * (MerchantMerchant)表实体类
 *
 * @author makejava
 * @since 2020-11-21 10:31:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MerchantMerchant extends Model<MerchantMerchant> {

    private Integer id;
    //商家名
    private String merchantName;
    //联系人
    private String merchantLinkman;
    //联系电话
    private String merchantPhone;
    //地址
    private String merchantAddress;
    //状态 0申请 1正常
    private String merchantStatus;
    //门店编号
    private String merchantNumber;
    //评分
    private Double merchantScore;

    private Integer createUserId;

    private Integer updateUserId;

    private String isDelete;

    private Date createTime;

    private Date updateTime;

    private String version;
    //商家提现银行卡号
    private String merchantBackCardnum;
    //经度
    private String merchantLongitude;
    //纬度
    private String merchantLatitude;
    //起送价格
    private Integer merchantReachPrice;
    //月销量
    private Integer merchantMonthlySales;

    private String img;

    private int avgTime;

    private String city;

    private BigDecimal distance; //距离

    private long distributionPrice; //配送费

    private String examineStatus;//资料审核状态

    //关联用户id
    private int userId;
    //关联用户名
    private String account;
}
